home *** CD-ROM | disk | FTP | other *** search
/ Mission 3 / Mission 3.zip / Mission 3.iso / zugabe / va45 / visual45 / lib_cte.s < prev    next >
Text File  |  1998-01-30  |  5KB  |  143 lines

  1. ;-------------------------------------------------------------------------
  2. ; Bits XHDI (device flags)
  3.  
  4. XH_TARGET_STOPPABLE    = 0
  5. XH_TARGET_REMOVABLE    = 1
  6. XH_TARGET_LOCKABLE    = 2
  7. XH_TARGET_EJECTABLE    = 3
  8. XH_TARGET_LOCKED    = 29
  9. XH_TARGET_STOPPED    = 30
  10. XH_TARGET_RESERVED    = 31
  11.  
  12. ;-------------------------------------------------------------------------
  13. ; Librairie de threads fenêtre
  14.  
  15. GWVA_ERROR_WIND_THREAD_NO_MORE_HANDLE    = -1    ; pour create
  16. GWVA_ERROR_WIND_THREAD_ALREADY_EXIST    = -2    ; pour create
  17. GWVA_ERROR_WIND_THREAD_DOESNOT_EXIST    = -3    ; pour delete
  18. GWVA_ERROR_WIND_THREAD_BAD_PARAMS        = -4    ; pour create/delete
  19.  
  20. GWVA_WIND_THREAD_FLAG_BIT_REAL_TIME        = 0    ; appli temps réel : vérifie à chaque timer
  21.  
  22. ;-------------------------------------------------------------------------
  23. ;        Variables Documentées GEM/AES/Autre
  24. ;-------------------------------------------------------------------------
  25. ;ACC_ID        = $400
  26. ;ACC_OPEN        = $401
  27. ;ACC_CLOSE        = $402
  28. ;ACC_ACC        = $403
  29.  
  30. AV_PROTOKOLL    = $4700
  31. VA_PROTOSTATUS    = $4701
  32. AV_GETSTATUS    = $4703
  33. AV_STATUS        = $4704
  34. VA_SETSTATUS    = $4705
  35. AV_SENDKEY        = $4710
  36. VA_START        = $4711
  37. AV_ASKFILEFONT    = $4712
  38. VA_FILEFONT        = $4713
  39. AV_ASKCONFONT    = $4714
  40. VA_CONFONT        = $4715
  41. AV_ASKOBJECT    = $4716
  42. VA_OBJECT        = $4717
  43. AV_OPENCONSOLE    = $4718
  44. VA_CONSOLEOPEN    = $4719
  45. AV_OPENWIND        = $4720
  46. VA_WINDOPEN        = $4721
  47. AV_STARTPROG    = $4722
  48. VA_PROGSTART    = $4723
  49. AV_ACCWINDOPEN    = $4724
  50. VA_DRAGACCWIND    = $4725
  51. AV_ACCWINDCLOSED    = $4726
  52. AV_COPY_DRAGGED    = $4728
  53. VA_COPY_COMPLETE    = $4729
  54. AV_PATH_UPDATE    = $4730
  55. AV_WHAT_IZIT    = $4732
  56. VA_THAT_IZIT    = $4733
  57. AV_DRAG_ON_WINDOW    = $4734
  58. AV_EXIT        = $4736
  59.  
  60. VA_OB_UNKNOWN    = 0
  61. VA_OB_TRASHCAN    = 1
  62. VA_OB_SHREDDER    = 2
  63. VA_OB_CLIPBOARD    = 3
  64. VA_OB_FILE        = 4
  65. VA_OB_FOLDER    = 5
  66. VA_OB_DRIVE        = 6
  67. VA_OB_WINDOW    = 7
  68.  
  69. ;-------------------------------------------------------------------------
  70. *
  71. * TCP connection states
  72. *
  73. STIK_TCLOSED    = 0    * No connection.  Null, void, absent, ...          *
  74. STIK_TLISTEN    = 1    * Wait for remote request                          *
  75. STIK_TSYN_SENT    = 2    * Connect request sent.  Await matching request    *
  76. STIK_TSYN_RECV    = 3    * Wait for connection ACK.  (Listener only ??)     *
  77. STIK_TESTABLISH    = 4    * Connection is established.  Handshake completed  *
  78. STIK_TFIN_WAIT1    = 5    * Await termination request or acknowledgement     *
  79. STIK_TFIN_WAIT2    = 6    * Await termination request                        *
  80. STIK_TCLOSE_WAIT    = 7    * Await termination request from local user        *
  81. STIK_TCLOSING    = 8    * Await termination acknowledge from remote TCP    *
  82. STIK_TLAST_ACK    = 9    * Await acknowledgement of terminate request sent  *
  83. STIK_TTIME_WAIT    = 10    * Delay to ensure remote has received term' ACK    *
  84.  
  85. *
  86. * Error return values
  87. *
  88. STIK_E_NORMAL    = 0    * No error occured ...                     *
  89. STIK_E_OBUFFULL    = -1    * Output buffer is full                    *
  90. STIK_E_NODATA    = -2    * No data available                        *
  91. STIK_E_EOF        = -3    * EOF from remote                          *
  92. STIK_E_RRESET    = -4    * RST received from remote                 *
  93. STIK_E_UA        = -5    * RST.  Other end sent unacceptable pkt    *
  94. STIK_E_NOMEM    = -6    * Something failed due to lack of memory   *
  95. STIK_E_REFUSE    = -7    * Connection refused by remote             *
  96. STIK_E_BADSYN    = -8    * A SYN was received in the window         *
  97. STIK_E_BADHANDLE    = -9    * Bad connection handle used.              *
  98. STIK_E_LISTEN    = -10    * The connection is in LISTEN state        *
  99. STIK_E_NOCCB    = -11    * No free CCB's available                  *
  100. STIK_E_NOCONNECTION    = -12    * No connection matches this packet (TCP)  *
  101. STIK_E_CONNECTFAIL    = -13    * Failure to connect to remote port (TCP)  *
  102. STIK_E_BADCLOSE    = -14    * Invalid TCP_close() requested            *
  103. STIK_E_USERTIMEOUT    = -15    * A user function timed out                *
  104. STIK_E_CNTIMEOUT    = -16    * A the connection timed out               *
  105. STIK_E_CANTRESOLVE    = -17    * Can't resolve the hostname               *
  106. STIK_E_BADDNAME    = -18    * Domain name or dotted dec. bad format    *
  107. STIK_E_LOSTCARRIER    = -19    * The modem disconnected                   *
  108. STIK_E_NOHOSTNAME    = -20    * Hostname does not exist                  *
  109. STIK_E_DNSWORKLIMIT    = -21    * Resolver Work limit reached              *
  110. STIK_E_NONAMESERVER    = -22    * No nameservers could be found for query  *
  111. STIK_E_DNSBADFORMAT    = -23    * Bad format of DS query                   *
  112. STIK_E_UNREACHABLE    = -24    * Destination unreachable                  *
  113. STIK_E_DNSNOADDR    = -25    * No address records exist for host        *
  114. STIK_E_NOROUTINE    = -26    * Routine unavailable                      *
  115. STIK_E_LOCKED    = -27    * Locked by another application            *
  116. STIK_E_FRAGMENT    = -28    * Error during fragmentation               *
  117. STIK_E_TTLEXCEED    = -29    * Time To Live of an IP packet exceeded    *
  118. STIK_E_PARAMETER    = -30    * Problem with a parameter                 *
  119. STIK_E_BIGBUF    = -31    * Input buffer is too small for data       *
  120. STIK_E_LASTERROR    = 31    * ABS of last error code in this list      *
  121.  
  122.  
  123. *
  124. * FLagbox Flag definitions (max 64 flags ...)
  125. *
  126. STIK_FL_do_resolve    = 0
  127. STIK_FL_housekeep    = 1
  128. STIK_FL_slipin    = 2
  129. STIK_FL_slipout    = 3
  130. STIK_FL_tcp_timer    = 4
  131. STIK_FL_frag_ttl_check    = 5
  132. STIK_FL_g_resv    = 6
  133. STIK_FL_g_wait    = 7
  134.  
  135. *
  136. * Values for protocol field
  137. *
  138. STIK_P_ICMP        = 1    * IP assigned number for ICMP                  *
  139. STIK_P_TCP        = 6    * IP assigned number for TCP                   *
  140. STIK_P_UDP        = 17    * IP assigned number for UDP                   *
  141.  
  142.  
  143.